home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEV
/
C-H
/
CBitMap.cpt
/
BitMap ƒ
/
offScreenBitMap.h
< prev
next >
Wrap
Text File
|
1990-11-21
|
784b
|
28 lines
/*
* offScreenBitMap.h Copyright © 1990 Brigham Stevens
* -----------------
*
* This file contains the prototypes for working with off screen bitmaps.
*
* NewBitMap - Allocates an off screen BitMap from a given Rect.
* CalcOffScreen - Calculates fields of a BitMap for a given Rect.
* FreeBitMap - Frees allocated memory in an off screen BitMap.
* DrawBitMap - Draw a BitMap in the current GrafPort.
* LoadPicture - Makes an off screen BitMap from a PICT resource.
*
*/
#define _offScreenBitMap_
#ifndef NIL
#define NIL 0L
#endif
void NewBitMap(Rect *frame,BitMap *theMap);
void CalcOffScreen(Rect *frame,int *needed,int *rows);
void FreeBitMap(BitMap *Bits);
void DrawBitMap(BitMap *bits,Rect *frame,int mode);
void LoadPicture(int resID,BitMap *theMap);